package main

import "fmt"

func main() {
	//fmt.Println(solveNQueens(5))
	//fmt.Println(totalNQueens(5))
	//fmt.Println(spiralOrder([][]int{{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}))
	//fmt.Println(spiralOrder([][]int{{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}}))
	//fmt.Println(spiralOrder([][]int{{1}}))
	//fmt.Println(canJump([]int{3, 0, 8, 2, 0, 0, 1}))
	//fmt.Println(merge([][]int{{1, 4}, {2, 3}}))
	//fmt.Println(insert([][]int{{1, 2}, {3, 5}, {6, 7}, {8, 10}, {12, 16}}, []int{4, 8}))
	//fmt.Println(insert([][]int{{1, 5}}, []int{0, 0}))
	//fmt.Println(insert([][]int{{3, 5}, {12, 15}}, []int{6, 6}))
	fmt.Println(lengthOfLastWord("   fly me   to   the moon  "))
}
